package com.lil.shiro.dao;

import com.lil.shiro.model.Password;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PasswordMapper extends MyBaseMapper<Password> {

    @Select(" SELECT PASSWORD FROM USER_PASSWORD  WHERE user_id = #{userId} ")
    String getPasswordByUserId(String userId);
}
